package day01;

import java.util.Arrays;
import java.util.Scanner;

public class Program03 {
    public static void main(String[] args) {
        Scanner scan = new Scanner(System.in);
        int[] num= new int[3];
        for (int i = 0 ; i<3 ; i++){
            System.out.print("请输入第" + (i+1) + "整数");
            num[i] = scan.nextInt();
            }

        Arrays.sort(num);
        for (int g = 0; g<3;g++ ){
            System.out.println(num[g]);

        }


    }

}
